All Questions
Tagged with databasemicroservices
52 questions
-3votes
2answers
171views
How to properly choose between two equivalent implementations, and how to prove you picked the correct one? [closed]
Thinking about non functional requirements (the -ities) and other concerns, which approach would you choose and why? consider the two snippets Direct Supabase Connection import { useState, useEffect } ...
3votes
2answers
372views
Microservices: separate db instance vs. separate db server
In a scenario with multiple teams, each overseeing a few microservices that collectively create a larger system, and where these services frequently use MongoDB databases, is it advisable for each ...
4votes
1answer
2kviews
Using a single Postgres server process to manage multiple databases in a microservice application
One of the main guidelines I keep seeing for successfully building a microservice application is to use a separate database for each microservice. In diagrams these are usually depicted as physically ...
3votes
2answers
376views
Best approach to microservice shared databse architecture
I have two microservices, one Flask (python) and one Spring (java), they currently share a database. The Flask microservice handles processing json files (~40mb) for each user (could be 100's or 1000'...
0votes
4answers
194views
Microservice arcitecture - seperation of services
The Microservice arcitecture is still a new thing for me to work with, so it gives me some unanswered questions. In my case each MicroService has its own database. I need a UserService to handle CRUD ...
-2votes
1answer
413views
Ho do I implement Database per Service pattern in Kubernetes?
Assuming I wanted to implement the Database per Service pattern or one of its related patterns like Private-Tables-, Schema- or Database-server-per-service (https://microservices.io/patterns/data/...
0votes
1answer
116views
Microservice optimized data sharing between services
Imagine the follow basic (abstract) setup: 1 API Gateway -> GWAY 2 Auth service (i.e. keycloak) -> AS 2 Location microservice(s) -> LMS 3 Activity microservice(s) -> AMS Every ...
0votes
0answers
88views
Data Replication Without Messages
We have a legacy API service and database at my workplace. My team works on a mobile app that uses this API for some particular data. You can think of this as DDD - our service shares some entities ...
0votes
2answers
342views
Architecture for worker pool with different task complexities and sizes of boxes
I'm sorry if I'm using any wrong terminology here. I'm trying to design an architecture where there can be big and small tasks (e.g. processing big or small images). Big tasks can only be handled by ...
2votes
3answers
3kviews
One db per microservice, on the same storage engine?
It is considered the best approach that a microservice db is private to it and shared nothing approach is the best. I recently came across a cloud based system which used postgres, mongodb & ...
1vote
2answers
3kviews
Making data available for multiple microservices
We have a design challenge here for a project we are working on and I wonder if folks from the community can provide some guidance: Our product is built in a microservices structure. So we have ...
1vote
1answer
152views
Benefits of Microservices processes split per kind? of process?
At our job we are having a heated discussion with the DevOps team on how to architect and modularize our microservices. We come from a 2-coupled-monoliths approach, so we are trying to avoid common ...
1vote
2answers
130views
Compare diff between similar objects stored in two different databases and delete the missing records from the later
We have a legacy system (app 1) that has millions of records of an object Project. It has ProjectId and OrganizationId columns along with other properties. A recently added service (app 2) gets the ...
2votes
3answers
2kviews
Handle Foreign Keys in microservices (microservice id from another microservice DB)
I have an application made of several microservices with independent databases So let's consider 2 microservices Users and Documents The users microservice manages the users and handles everything ...
0votes
1answer
741views
Using databases to store temporary results between the backend and frontend of a webservice
I have a multithreaded backend application. It is inputted x, and outputs y, and this makes up a "job". A job can take up to several seconds to complete. The application is fed input via ...